<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Hotel_Controller extends MY_Controller {
	
	function Hotel() {
		
		parent::__construct();
	
		if ($this->ion_auth->is_group("hotel")) {
				
			$this->load->helpers(array('html'));
				
			$this->load->library(array('carabiner','template','fuelmenu','ion_auth','session','mylibrary'));
				
			$this->load->model('Hotel_model');
				
			$this->lang->load('hotel');
				
			// $this->carabiner->css('reset.css');
			// $this->carabiner->css('hotel/hotel.css');
	
			$this->_configTemplate();
	
			$this->_setData();
				
			$this->_tmp();
		}
		else {		// not a Hotel user
			redirect('Login/index');
		}
	}
}